//
//  ZNewTextFieldCell.m
//  WeClubs
//
//  Created by Zed Link on 21/4/2017.
//  Copyright © 2017 Zed. All rights reserved.
//

#import "ZNewTextFieldCell.h"

@interface ZNewTextFieldCell ()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UITextField *textField;

@end

@implementation ZNewTextFieldCell

- (void)zSetupCell
{
    [super zSetupCell];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.separatorInset = UIEdgeInsetsMake(0, 12, 0, 0);
    
    [self.contentView setBackgroundColor:NAVBAR_BG_COLOR];
    [self setBackgroundColor:NAVBAR_BG_COLOR];
}

- (void)setTitle:(NSString *)title
{
    self.titleLabel.text = title;
}

@end
